from django.db import models


class ManufacturerModel(models.Model):
    code = models.CharField(max_length=255, verbose_name='编码')
    name = models.CharField(max_length=255, verbose_name='名称')
    description = models.CharField(max_length=500, verbose_name='说明')
    create_datetime = models.DateTimeField(verbose_name="添加时间")
    update_datetime = models.DateTimeField(verbose_name="更新时间")

    class Meta:
        db_table = 'manufacturer'
        verbose_name = '制造商信息'
        verbose_name_plural = verbose_name
